var showUnloadPage=1; function emailCheck(emailStr) { showUnloadPage=0; var emailPat=/^(.+)@(.+)$/ var specialChars="\\(\\)<>@,;:\\\\\\\"\\.\\[\\]" var validChars="\[^\\s" + specialChars + "\]" var quotedUser="(\"[^\"]*\")" var ipDomainPat=/^\[(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\]$/ var atom=validChars + '+' var word="(" + atom + "|" + quotedUser + ")" var userPat=new RegExp("^" + word + "(\\." + word + ")*$") var domainPat=new RegExp("^" + atom + "(\\." + atom +")*$") var matchArray=emailStr.match(emailPat) if (matchArray==null) { alert("Email address seems incorrect (check @ and .'s)") return false } var user=matchArray[1] var domain=matchArray[2] if (user.match(userPat)==null) { alert("The username doesn't seem to be valid.") return false } var IPArray=domain.match(ipDomainPat) if (IPArray!=null) { for (var i=1;i<=4;i++) { if (IPArray[i]>255) { alert("Destination IP address is invalid!") return false } } return true } var domainArray=domain.match(domainPat) if (domainArray==null) { alert("The domain name doesn't seem to be valid.") return false } var atomPat=new RegExp(atom,"g") var domArr=domain.match(atomPat) var len=domArr.length if (domArr[domArr.length-1].length<2 || domArr[domArr.length-1].length>3) { alert("The address must end in a three-letter domain, or two letter country.") return false } if (len<2) { var errStr="This address is missing a hostname!" alert(errStr) return false } return true; } function pageUnloadSkip() { showUnloadPage=0; } function pageUnload() { if (showUnloadPage==1) { var w1=(screen.height-320)/2; var w2=(screen.width-550)/2; wprops='top='+w1+',left='+w2+',width=550,height=320'; w=window.open("http://www.essortment.com/Premierpopup.htm",'banners',wprops); if (!w.opener) w.opener=self; window.focus(); w=window.open("http://www.essortment.com/ccard.htm",'Offers','width=550,height=320'); if (!w.opener) w.opener=self; } } function OptinList() { document.writeln('
'); var vis = new Array( "martha_stewart","Martha Stewart", "met_art","Metropolitan Museum of Art", "coldwater_creek","Coldwater Creek", "-","-", "dc_free_stuff","Free Stuff", "dc_comp_tech","Computers/Technology", "dc_fashion","Fashion", "dc_food_wine","Food and Wine", "dc_parenting","Parenting"); document.writeln("
"); document.writeln("
Get special offers from:

"); for (var i = 0; i"+vis[i+1]+"
"); } else { document.writeln("
Get offers from our business partners about:

"); } } document.writeln("

"); document.writeln("

My email address is:"); document.writeln("
"); document.writeln("
"); document.writeln(""); document.writeln('
'); IE4 = (document.all); if (IE4) { document.body.onunload = pageUnload; } else { onunload = pageUnload; } } function bodyOffer(id) { document.writeln(''); document.writeln('
'); document.writeln(''); document.writeln('
You May Be Owed
Unclaimed Money
'); document.writeln('
'); document.writeln('
To Find Out, Enter Your Last Name Here: '); document.writeln('
'); } function bodyOffer2() { document.writeln(''); } function coldPage() { var w1=(screen.height-320)/2; var w2=(screen.width-550)/2; wprops='top='+w1+',left='+w2+',width=550,height=320'; w=window.open("http://216.119.104.78/dc/coldw.htm",'coldwater',wprops); if (!w.opener) w.opener=self; } function bodyOffer3() { document.writeln('Click Here'); } function BotOffer(cat) { document.writeln(""); } var logowidth=125 var logoheight=125 var staticlogo=new Image(logowidth,logoheight) staticlogo.src="http://ad.linksynergy.com/fs-bin/show?id=C71GoA3F2OU&bids=9384.10000042&subid=0&type=4" var logolink="http://click.linksynergy.com/fs-bin/stat?id=C71GoA3F2OU&offerid=9384.10000042&subid=0&type=4" var alttext="125x125\0102-needcoupons-125125" var fadeintoview=1 var visibleduration=1000 var ns4=document.layers var ie4=document.all var ns6=document.getElementById&&!document.all function regenerate(){ window.location.reload() } function regenerate2(){ if (ns4) setTimeout("window.onresize=regenerate",400) } var fadeset='' if (fadeintoview) fadeset="filter:alpha(opacity=0)" if (ie4) document.write('') function bringintoview(){ if (logo.filters.alpha.opacity<=95) logo.filters.alpha.opacity+=5 else{ clearInterval(viewit) if (visibleduration!=0) setTimeout("logo.style.visibility='hidden'",visibleduration*1000) } } function createlogo(){ staticimage=new Layer(100) staticimage.left=-300 staticimage.top=120 staticimage.document.write(''+alttext+'
') staticimage.document.close() staticimage.visibility="show" regenerate2() staticitns() } if (ns4) window.onload=createlogo; else if (ie4) crosslogo=document.all.logo else if (ns6) crosslogo=document.getElementById("logons6") if (ie4||ns6){ w=2 h=ns6? window.innerHeight-logoheight-5 : document.body.clientHeight-crosslogo.style.pixelHeight-5 crosslogo.style.left=w crosslogo.style.top=h } function cl() { if (ie4) { setTimeout("logo.style.visibility='hidden'",50) } if (ns4) { setTimeout("staticimage.visibility='hide'",50) } showUnloadPage=1; } function logoit(){ var w2=ns6? pageXOffset+w : document.body.scrollLeft+w var h2=ns6? pageYOffset+h : document.body.scrollTop+h crosslogo.style.left=w2 crosslogo.style.top=h2 } function logoit2(){ staticimage.left=pageXOffset+2 staticimage.top=pageYOffset+window.innerHeight-staticimage.document.height-5 } function insertimage(){ crosslogo.innerHTML=''+alttext+'
' if (ie4){ if (fadeintoview) viewit=setInterval("bringintoview()",100) else{ if (visibleduration!=0) setTimeout("crosslogo.style.visibility='hidden'",visibleduration*1000) } } } if (ie4){ window.onscroll=logoit window.onresize=new Function("window.location.reload()") window.onload=insertimage } else if (ns6){ startstatic=setInterval("logoit()",100) window.onload=insertimage window.onresize=new Function("window.location.reload()") if (visibleduration!=0) setTimeout("crosslogo.style.visibility='hidden';clearInterval(startstatic)",visibleduration*1000) } function staticitns(){ startstatic=setInterval("logoit2()",90) if (visibleduration!=0) setTimeout("staticimage.visibility='hide';clearInterval(startstatic)",visibleduration*1000) }